/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/*
 * 意图配置参考：https://developer.huawei.com/consumer/cn/doc/harmonyos-references/intents-arkts-api-insightintent#section13611343185915
 */
export interface InsightIntent {
    //Indicates the name of the intent.
    intentName: string;
    //Indicates the version of the intent.
    intentVersion: string;
    //Indicates the identifier of the intent.
    identifier: string;
    //Indicates action info of the intent.
    intentActionInfo: IntentActionInfo;
    //Indicates entity info of the intent.
    intentEntityInfo: IntentEntityInfo;
}

export interface IntentEntityInfo {
    //Indicates the unique identifier of the intent entity, which is customized by the developer.
    entityId: string;
    //Indicates the name of the intent entity.
    entityName: string;
    //Indicates other field values of the intent entity.
    [key: string]: Object;
}


export interface IntentActionInfo {
    //Indicates the field values of the intent action.
    [key: string]: Object;
}